const mongoose = require('mongoose');
const Schema = mongoose.Schema;

module.exports = mongoose.model('class', new Schema({
    class: { type: String, unique: true },
    teacher: String,
    course: []
}));